﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace GerenteEBD
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class Principal : Window
    {
       

        public Principal()
        {
            InitializeComponent();

        }

        private void btnClose_Click(object sender, RoutedEventArgs e)
        {

        }

        private void person_Loaded_1(object sender, RoutedEventArgs e)
        {

        }

        private void NewStudent_CanExecuteChanged_1(object sender, EventArgs e)
        {

        }

        private void Novo_Click(object sender, RoutedEventArgs e)
        {
            frameConteudo.Content = null;
            frameConteudo.Content = new controle_pessoa();
        }

        private void btnExit_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }

        private void btnListarAlunos_Click(object sender, RoutedEventArgs e)
        {
            frameConteudo.Content = null;
            frameConteudo.Content = new lista_pessoas();
        }

        private void btnSave_Click(object sender, RoutedEventArgs e)
        {
            //Salvar tudo
        }

        private void btnListarTurmas_Click(object sender, RoutedEventArgs e)
        {
            frameConteudo.Content = null;
            frameConteudo.Content = new lista_turmas();
        }
    }
}
